import 'package:animal/constant/font.dart';
import 'package:flutter/material.dart';
import 'package:getwidget/getwidget.dart';

///商城菜单Item
class ShopMenuItem extends StatelessWidget {
  String? name;
  String? image;
  ShopMenuItem({Key? key, this.name = "",this.image = ""}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        const GFImageOverlay(
            height: 100,
            width: 100,
            shape: BoxShape.circle,
            image: NetworkImage('https://cdn.pixabay.com/photo/2016/11/22/07/09/spruce-1848543__340.jpg')
        ),
        Text("$name",style:KFontConstant.myTextStyle(size: 60,color: Colors.blue),)
      ],
    );
  }
}
